package com.sleep.satokendemo.entry;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author GuoAo
 * @className XMLDemo
 * @date 2024/12/1
 * @description TODO
 */
@Data
@Accessors(chain = true)
@JacksonXmlRootElement(localName = "XMLDemo")
public class XMLDemo {
    @JacksonXmlProperty(localName = "username")
    private String userName;
    @JacksonXmlProperty(localName = "password")
    private String password;
    @JacksonXmlProperty(localName = "project")
    List<String> project;
}
